package com.hk.sky.repository;

import com.hk.sky.bean.Clazz;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface ClazzRepository extends CrudRepository<Clazz, Integer> {

    Clazz findByName(String name);

    List<Clazz> findByNameContains(String name);

}
